﻿using RpcModel;

namespace RpcSync.Model
{
    [Serializable]
    public class TransactionDatum
    {
        public Guid Id
        {
            get;
            set;
        }

        public Guid ParentId
        {
            get;
            set;
        }
        public long RpcMerId
        {
            get;
            set;
        }

        public string SystemType
        {
            get;
            set;
        }
        public int RegionId
        {
            get;
            set;
        }
        public string TranName
        {
            get;
            set;
        }
        public string SubmitJson
        {
            get;
            set;
        }
        public string Extend
        {
            get;
            set;
        }
        public TransactionStatus TranStatus
        {
            get;
            set;
        }
        public TranCommitStatus CommitStatus
        {
            get;
            set;
        }
        public RpcTranMode TranMode { get; set; }

        public short RetryNum { get; set; }

        public long ErrorId { get; set; }
    }
}
